package request

// Paging common input parameter structure
type PageInfo struct {
	Keyword    string `json:"keyword" form:"keyword"`
	Query      string `json:"query" form:"query"`
	UserState  int    `json:"user_state" form:"user_state"`
	Page       int    `json:"page" form:"page"`
	PageSize   int    `json:"pageSize" form:"pageSize"`
	SortColumn string `json:"sort_column" form:"sort_column"`
	Order      string `json:"order" form:"order"`
}

// Find by id structure
type GetById struct {
	Id float64 `json:"id" form:"id"`
}

type IdsReq struct {
	Ids []int `json:"ids" form:"ids"`
}
